<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>企业招聘管理系统</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
        }

        .navbar {
            background-color: #2c3e50;
            padding: 1rem 2rem;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar h1 {
            font-size: 1.5rem;
        }

        .navbar .nav-links a {
            color: white;
            text-decoration: none;
            margin-left: 2rem;
        }

        .main-content {
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .features {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            padding: 20px;
            margin-top: 20px;
        }

        .feature-card {
            flex: 1;
            background: #fff;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2.5em;
            color: #4CAF50;
            margin-bottom: 15px;
        }

        .feature-card h3 {
            color: #333;
            margin-bottom: 10px;
            font-size: 1.2em;
        }

        .feature-card p {
            color: #666;
            margin-bottom: 15px;
            font-size: 0.9em;
        }

        .feature-btn {
            display: inline-block;
            padding: 8px 20px;
            background-color: #4CAF50;
            color: white;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        .feature-btn:hover {
            background-color: #45a049;
        }

        .welcome-section {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .welcome-section h2 {
            color: #2c3e50;
            margin-bottom: 1rem;
        }

        .welcome-section p {
            color: #666;
        }

        .stats-section {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .stat-card h4 {
            color: #2c3e50;
            margin-bottom: 0.5rem;
        }

        .stat-card .number {
            font-size: 1.8rem;
            color: #3498db;
            font-weight: bold;
        }
    </style>
</head>
<body>
<nav class="navbar">
    <h1>企业招聘管理系统</h1>
    <div class="nav-links">
        <a href="{% url 'author:company_index' %}">首页</a>
        <a href="{% url 'author:logout' %}">退出</a>
    </div>
</nav>

<div class="main-content">
    <div class="welcome-section">
        <h2>欢迎使用大学生就业管理系统-企业端</h2>
        <p>在这里您可以发布职位、管理简历投递、查看应聘数据统计</p>
    </div>

    <div class="features">
        <a href="{% url 'job_apply:add_job' %}" style="text-decoration: none; color: inherit; flex: 1;">
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-plus-circle"></i>
                </div>
                <h3>发布职位</h3>
                <p>创建新的职位招聘信息，设置职位要求和薪资待遇</p>
                <span class="feature-btn">发布新职位</span>
            </div>
        </a>
        <a href="{% url 'job_apply:check_apply' %}" style="text-decoration: none; color: inherit; flex: 1;">
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-list-alt"></i>
                </div>
                <h3>申请管理</h3>
                <p>查看收到的简历投递，筛选合适的候选人</p>
                <span class="feature-btn">查看申请</span>
            </div>
        </a>


    </div>


</div>
</body>
</html>
